<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/Money/searchfirst.css">
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>退税</span>
<%--            <button class="layui-btn layui-btn-sm layui-btn-normal statistical" id="statistical">统计</button>--%>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-tab layui-tab-card">
                        <form class="layui-form layui-from-pane" action="" id="editor-form" lay-filter="editor-form">
                            <div class="layui-inline">
                                <label class="layui-form-label">单据类型</label>
                                <div class="layui-input-inline">
                                    <select name="status">
                                        <option value=""></option>
                                        <option value="3">登记箱</option>
                                        <option value="4">完成箱</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">单据信息</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="billInformation" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">所属操作员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="operationCode" class="xm-select-demo"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">所属业务员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="salesmanCode" class="xm-select-demo"></div>
                                </div>
                            </div>

<%--                            <div class="layui-inline">--%>
<%--                                <label class="layui-form-label">所属操作员</label>--%>
<%--                                <div class="layui-input-inline">--%>
<%--                                    <select name="operatorCode" id="operatorCode" lay-search>--%>
<%--                                        <option value=""></option>--%>

<%--                                    </select>--%>
<%--                                </div>--%>
<%--                            </div>--%>
<%--                            <div class="layui-inline">--%>
<%--                                <label class="layui-form-label">所属业务员</label>--%>
<%--                                <div class="layui-input-inline">--%>
<%--                                    <select name="salesmanCode" id="salesmanCode" lay-search>--%>
<%--                                        <option value=""></option>--%>

<%--                                    </select>--%>
<%--                                </div>--%>
<%--                            </div>--%>

                            <div class="layui-inline daterange">
                                <label class="layui-form-label">登记日期</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input starttime" name="startDrawbackDate" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="endDrawbackDate" placeholder="年 - 月 - 日">
                                </div>
                            </div>
                            <div class="layui-inline daterange">
                                <label class="layui-form-label">出运日期</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input starttime" name="startInvoiceDate" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="endInvoiceDate" placeholder="年 - 月 - 日">
                                </div>
                            </div>
                            <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="submitform" style="margin-left: 10px">搜索</button>
                            <button type="reset" class="layui-btn layui-btn-sm layui-btn-submit" id="clear">重置</button>
                        </form>
                        <div id="tablediv">
                             <table class="layui-table" id="maininformation" lay-filter="maininformationtable"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="maininformationeditor">
    {{# if(d.drawbackStatus=='3'){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="new">登记</a>
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="complete">完成</a>
    {{# } }}
    {{# if(d.drawbackStatus=='4'){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="backtothe">退回</a>
    {{# } }}
    {{# if(d.drawbackStatus=='3' || d.drawbackStatus=='4'){ }}
    <small>标记：</small> <div class="colorvalue" data-id = "{{d.drawbackId}}" data-index="{{d.LAY_TABLE_INDEX}}"></div>
    {{# } }}
</script>
<%@ include file="../tpl/foot.jsp"%>
<script src="statics/modules/xm-select.js"></script>
<script src="statics/js/Money/taxrebates.js"></script>